
import { useDict } from '@/utils/dict'
export const dicts = useDict(
  "wms_cont_type",
  "wms_yes_no",
  "wms_ib_type",
  "wms_ib_master_status",
  "wms_common_status",
  "wms_spu_type",
  "wms_station_type",
  "wms_station_floor",
  "wms_location_status",
  "wms_stock_status",
  "stock_lock_status",
  "wms_quality_status",
  "wms_supplier_type",
  "wms_warehouse_type",
  "wms_zone_type",
  "wms_ob_master_status",
  "wms_ob_detail_status",
  "wms_ob_type",
  "wms_ib_detail_status",
  "wms_post_status",
  "wms_task_status",
  "wms_task_type",
  "wms_task_sub_type",
  "wms_workshop_type",
  "wms_location_type"
);

export const dictsMapping = {
  spuType: 'wms_spu_type',
  spuStatus: 'wms_common_status',
  ibMasterType: 'wms_ib_type',
  fromErp: 'wms_yes_no',
  ibMasterStatus: 'wms_ib_master_status',
  contType: 'wms_cont_type',
  contStatus: 'wms_common_status',
  obMasterType: 'wms_ob_type',
  obMasterStatus: 'wms_ob_master_status',
  isPrepare: 'wms_yes_no',
  isMarks: 'wms_yes_no',
  ibDetailStatus: 'wms_ib_detail_status',
  postStatus: 'wms_post_status',
  stationType: 'wms_station_type',
  stationStatus: 'wms_common_status',
  isActive: 'wms_common_status',
  supplierType: 'wms_supplier_type',
  warehouseType: 'wms_warehouse_type',
  warehouseStatus: 'wms_common_status',
  lineType: 'wms_workshop_type',
  lineStatus: 'wms_common_status',
  zoneType: 'wms_zone_type',
  zoneStatus: 'wms_common_status',
  taskStatus: 'wms_task_status',
  taskType: 'wms_task_type',
  taskSubType: 'wms_task_sub_type',
  locationType: 'wms_location_type',
  locationStatus: 'wms_location_status',
  isMixed: 'wms_yes_no',
  qualityStatus: 'wms_quality_status',
  lockStatus: 'stock_lock_status',
  obDetailStatus: 'wms_ob_detail_status',
  stockStatus: 'wms_stock_status'
}